<?php
// ajout des librairies
include ("../cgi-bin/global.inc.php");

$sql = "UPDATE data INNER  JOIN missions_etablissement ON etablissement.id = missions_etablissement.etabid INNER  JOIN  DATA  ON etablissement.id = data.etabid SET data.missions_etabid = missions_etablissement.id "; 
$resultat = mysql_query($sql) or die("Imprimer cette page : <br>erreur update data<br>sql = ".$sql);


?>
